package com.xiyou.luckdraw.api.converter;

import com.xiyou.luckdraw.api.dal.entitys.UserInfo;
import com.xiyou.luckdraw.api.dal.entitys.UserTntegralLog;
import com.xiyou.luckdraw.api.dto.user.UserInfoListDto;
import com.xiyou.luckdraw.api.dto.user.UserInfoListRequest;
import com.xiyou.luckdraw.api.dto.user.UserTntegralLogDto;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;

import java.util.List;

/**
 * @ClassName: UserTntegralLogConverter
 * @Description: 用户兑换券记录转换
 * @author: limingxing
 * @Date: 2019-10-23 15:39
 */
@Mapper(componentModel = "spring")
public interface UserTntegralLogConverter {

    @Mappings({})
    UserTntegralLogDto req2UserTntegralLog(UserTntegralLog obj);

    List<UserTntegralLogDto> UserTntegralLogs2Dto(List<UserTntegralLog> tntegralLogs);


}
